<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="stripes" uri="http://stripes.sourceforge.net/stripes.tld"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
  <head><title>MyIsern - Edit Organization</title></head>
<body>


  MyIsern - Edit Organizations
  <p>
  --- Please fill all fields that apply to the best of your knowledge.<br>  
  For multiple entries, please separate with a comma (,).  If you are<br>
  satisfied with the entry, please submit and save, or cancel. Thank you. 
  <p>
  <stripes:errors action="/EditOrganization.action"/>

  <stripes:form id="EditOrganizationForm" action="/EditOrganization.action" focus="">
     <table>
        <tr>
           <td>Organization Name:</td>
        </tr>
        <tr>
           <td><stripes:text style="width: 500px;" name="organizationName" 
           value="${actionBean.possibleOrganizationName}"/></td>
        </tr>
        <tr>
           <td>Organization Type:</td>
        </tr>
        <tr>
            <td><stripes:text style="width: 500px;" name="organizationType"
            value="${actionBean.organizationType}"/></td>
        </tr>
        <tr>
            <td>Organization Contact:</td>
        </tr>
        <tr>
            <td><stripes:text style="width: 500px;" name="organizationContact"
            value="${actionBean.organizationContact}"/></td>
        </tr>
        <tr>
           <td>Affiliated Researcher(s):</td>
        </tr>
        <tr>
           <td><stripes:text style="width: 500px;" name="organizationAffiliatedResearchers"
           value="${actionBean.organizationAffiliatedResearchers}"/></td>
        </tr>
        <tr>
           <td>Country:</td>
        </tr>
        <tr>
           <td><stripes:text style="width: 500px;" name="organizationCountry"
           value="${actionBean.organizationCountry}"/></td>
        </tr>
        <tr>
           <td>Research Keyword(s):</td>
        </tr>
        <tr>
           <td><stripes:text style="width: 500px;" name="organizationResearchKeywords"
           value="${actionBean.organizationResearchKeywords}"/></td>
        </tr>
        <tr>
           <td>Home Page:</td>
        </tr>
        <tr>
           <td><stripes:text style="width: 500px;" name="organizationUrl"
           value="${actionBean.organizationUrl}"/></td>
        </tr>  
        <tr>
           <td>Research Description:</td>
        </tr>
        <tr>
           <td><stripes:textarea style="width: 500px;" name="organizationResearchDescription"
           value="${actionBean.organizationResearchDescription}"/></td>
        </tr>        
           
        <tr>
           <td style="text-align: center;">
              <%-- If the security servlet attached a targetUrl, carry that along. --%>
              <stripes:hidden name="targetUrl" value="${request.parameterMap['targetUrl']}"/>
              <stripes:submit name="submitAndSave" value="Submit"/>
              <%-- If the security servlet attached a targetUrl, carry that along. --%>
              <stripes:hidden name="targetUrl" value="${request.parameterMap['targetUrl']}"/>
              <stripes:submit name="cancel" value="Cancel"/>
           </td>
        </tr>
     </table>
   </stripes:form>
 
</body>
</html>